#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
	float j;
	scanf("%f", &j);
	printf("The input is %f or %e\n", j, j);
	printf("The input is %+.3f or %E", j, j);

	return 0;
}